<?php

class Application_Form_DeleteForm extends Zend_Form
{

    public function init()
    {
        $this->setMethod('post');
        $this->setName('deleteForm');
        
        $id = new Zend_Form_Element_Hidden('id_departemen');
        $id->addFilter('Int');
        
        $yes = new Zend_Form_Element_Submit('del1');
        $yes->setLabel('Ya')->removeDecorator('DtDdWrapper');
        
        $no = new Zend_Form_Element_Submit('del2');
        $no->setLabel('Tidak')->removeDecorator('DtDdWrapper');

        $this->addElements(array($yes,$no,$id));
    }
}

